from django.db import models


# Create your models here.

class Articles(models.Model):
    art_id = models.IntegerField()
    designatio = models.CharField(max_length=100)
    name = models.CharField(max_length=200)
    section_id = models.ForeignKey('Ssections')
    unvcode = models.ForeignKey('Konstrobj')
    
class Ssections(models.Model):
    section_id = models.IntegerField()
    sectname = models.CharField(max_length=70)

class Konstrobj(models.Model):
    unvcode = models.IntegerField()
    sign = models.CharField(max_length=100)
    name = models.CharField(max_length=200)
    prodcode = models.IntegerField()


#class Person(models.Model):
#    first_name = models.CharField(max_length=200)
#    last_name = models.CharField(max_length=200)






